<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改用户</title>
<link href="/res/css/style.css" rel="stylesheet" type="text/css" />
<link href="/res/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/res/js/jquery.js"></script>
<script type="text/javascript" src="/res/js/select-ui.min.js"></script>
<script type="text/javascript" src="/res/js/lib/formvalid/FormValid.js"></script>
<link href="/res/js/lib/layer/skin/layer.css" rel="stylesheet" type="text/css" />
<link href="/res/js/lib/layer/skin/layer.ext.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/res/js/lib/layer/layer.js"></script>
<script type="text/javascript" src="/res/js/common/msgTools.js"></script>
<script type="text/javascript" src="/res/js/pages/user/userView.js"></script>
<style>
.forminfo li,.forminfo label{line-height: 26px;height: 26px;vertical-align: middle;}
.forminfo li {margin-bottom: 3px;}
</style>
<script type="text/javascript">
	$(document).ready(function(e) {
		$("select").uedSelect({});
	});
</script>
</head>

<body style="overflow-x:hidden;">
	<div class="formbody">
			<div id="tab1" class="tabson"  style="font-size:16px;">
			    <table border="1" width="480">
			       <tr>
			         <td valign="top" width="140">
			            <c:if test="${empty(user.headImg)}">
			              <img src="/res/images/headimg.jpg" width="130" height="130" />
			            </c:if>
			            <c:if test="${!empty(user.headImg)}">
			              <img src="${user.headImg}" width="130" height="130" />
			            </c:if>
			         </td>
			         <td>
						<ul class="forminfo">
							<li><label>用户名<b></b></label><label style="font-size:15px;">${user.name}</label></li>
							<li><label>真实姓名<b></b></label><label style="font-size:15px;">${user.realName}</label></li>
							<li><label>性别<b></b></label><label style="font-size:15px;">${(!empty(user.sex)&&fn:toUpperCase(user.sex)=="F")?"女":"男"}</label></li>
							<li><label>推荐人</label><label><a href="javascript:view('${user.pid}')" class="tablelink">${user.pName}</a></label></li>
							<li><label>手机号<b></b></label><label>${user.mobile}</label></li>
							<li><label>用户级别<b></b></label><label>
							   <c:choose>
							      <c:when test='${user.level=="comm"}'>普通会员</c:when>
							      <c:when test='${user.level=="vip"}'>vip会员</c:when>
							      <c:when test='${user.level=="gold"}'>金钻会员</c:when>
							   </c:choose></label></li>
							<li><label>Email<b></b></label><label>${user.email}</label></li>
							<li><label>状态<b></b></label><label>${user.isEffect==1?"有效":"无效"}</label></li> 
					</td>
				   </tr>
				   <tr>
			         <td valign="top" width="140">
			            <c:if test="${!empty(user.picUrl)}">
			              <a href="${user.picUrl}" target="_blank"><img src="${user.picUrl}" width="130" height="130" /></a>
			            </c:if>
			         </td>
				     <td>
				         <ul class="forminfo">			
							<li><hr style="border: 1px solid #cccl!important;"/></li>
							<li><label>是否实名认证<b></b></label><label>${user.verIsPass=="1"?"是":"<b class='red'>否</b>"}</label></li> 
							<li><label>认证身份证<b></b></label><label>${user.verIdcard}</label></li> 
							<li><label>认证真实姓名<b></b></label><label>${user.verRealName}</label></li> 
							<li><label>已认证照片<b></b></label><label>${user.auditStatus=="1"?"是":"<b class='red'>否</b>"}</label></li>														
							<li></li>
						</ul>	
			         </td>			         
			       </tr>
			       <tr>
			         <td colspan="2" align="center" ><input type="button" onclick="closeWnd()" class="btn" value="关闭" /></td>
			       </tr>
			    </table>
		
				
			</div>
	</div>
	${actionMsg}

<script>
   function closeWnd(){
	   msgTools.closeFra();
   }
</script>
</body>

</html>


